package com.kyubi.xmlsynth.source;

import com.kyubi.common.data.Instances;

/**
 * A class representing the data source handling textaul data.
 * 
 * @author anand
 *
 */
public class TextDataSource extends DataSource implements IDataSource {

	public TextDataSource() {
		super();
	}
	
	/**
	 * Returns the Instances read from the text file.
	 * 
	 * @return	the Instances read from the data source
	 */
	public Instances get() {
		return insts;
	}
	
	/**
	 * Set the data source file path.
	 * 
	 * @param	filePath	the path of the data source file
	 */
	public void setSource(String filePath) {
		super.setSource(filePath);
		
		// @TODO figure out product name from filename
	}
}
